package com.tdkj.model.information;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyWebsiteEmail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_website_email")
public class BeanWebsiteEmail extends BaseEntity implements java.io.Serializable {

	// Fields
	private String userlevel;
	private String content;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public BeanWebsiteEmail() {
	}

	/** minimal constructor */
	public BeanWebsiteEmail(long id) {
		this.setId(id);
	}

	/** full constructor */
	public BeanWebsiteEmail(long id,String userlevel, String content,
			Timestamp createtime) {
		this.setId(id);
		this.userlevel = userlevel;
		this.content = content;
		this.createtime = createtime;
	}

	@Column(name = "userlevel", length = 40)
	public String getUserlevel() {
		return this.userlevel;
	}

	public void setUserlevel(String userlevel) {
		this.userlevel = userlevel;
	}

	@Column(name = "content", length = 400)
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name = "createtime", nullable = false, length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}